﻿using Prism.Mvvm;

namespace Rafy.Book
{
    public class BookWordModel : BindableBase
    {
        /// <summary>
        /// 所属章节
        /// </summary>
        public int CatalogId { get; set; }
        /// <summary>
        /// 文字类型：单个汉字【YuWen_Word】或词语【YuWen_Words】
        /// </summary>
        public int WordType { get; set; }
        /// <summary>
        /// 索引ID
        /// </summary>
        public int WordId { get; set; }
        public string Character { get; set; }
        public string Pinyin { get; set; }
        public bool ShowPinyin { get; set; }

        

        private bool _isSelected;
        public bool IsSelected
        {
            get { return _isSelected; }
            set { SetProperty(ref _isSelected, value); }
        }
    }
}
